//
//  CubeDemo.h
//  demo
//
//  Created by vonchenchen on 2021/3/18.
//  Copyright © 2021 vonchenchen. All rights reserved.
//
#import <Foundation/Foundation.h>

#include <ToyMath.h>

NS_ASSUME_NONNULL_BEGIN

using namespace ToyCube;

@interface CubeDemoScene : NSObject

-(void) initWidth:(int)width Height:(int)height;
-(void) setRotateCubeX:(float)x Y:(float)y Z:(float)z Rotate:(float)angle;
-(void) setTransCubeX:(float)x Y:(float)y Z:(float)z;
-(void) setScaleCubeX:(float)x Y:(float)y Z:(float)z;
-(void) setCameraPos:(Vec<3, float>*) up Eye:(Vec<3, float>*)eye At:(Vec<3, float>*)at;
-(void) setPersPro:(float)fovy aspect:(float)aspect near:(float)near far:(float)far;
-(void) requestRender;

@end

NS_ASSUME_NONNULL_END
